.form-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fafafa;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  font-family: "Segoe UI", sans-serif;
}

.alpha-nav span, button {
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  background: #e6e6e6;
  color: #004080;
  font-weight: 600;
  transition: background 0.2s;
}

.alpha-nav span:hover {
  background: #004080;
  color: #fff;
}

#ExhProfileMenuToggle {
  display: none; /* hidden on desktop */
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  width: 100%;
  text-align: left;
}

#ExhProfile {
  display: none;
  flex-direction: column;
}

#ExhProfileLeftRight {
  display: grid;
  grid-template-columns: 25% 75%;
  height: 100vh;
}

#ExhProfileLeft {
  border-right: 1px solid #ccc;
  overflow-y: auto;
  background: #f9f9f9;
  padding: 1rem;
}

.company-card {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.company-header{
  margin: 0;
  font-size: 1.5rem;
  background: #0d6efd;
  color: #f9f9f9;
  padding-bottom: 5px;
}

.company-header h3{
  padding-bottom: 10px;
  border-bottom: 4px solid #f9f9f9;
}

.company-description {
  margin: 15px 0;
  font-size: 1rem;
  color: #333;
}

.company-section {
  margin: 15px 0;
}

.company-section h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: #0066cc;
}

.company-section p {
  margin: 4px 0;
  color: #444;
}

/* Contact Us form in Exhibitors profile page */
#ExhProfileContactForm {
  font-family: Arial, sans-serif;
  margin: 40px;
}

#ExhProfileContactForm form {
  max-width: 400px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}
#ExhProfileContactForm label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}
#ExhProfileContactForm input, textarea, button {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
#ExhProfileContactForm button {
  background: #0078d7;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 16px;
}
#ExhProfileContactForm button:hover {
  background: #005a9e;
}
#ExhProfileContactForm .error {
  color: red;
  margin-top: 8px;
}
/* ---------------------------------------- */
/* Responsive collapse */
@media (max-width: 768px) {
  #ExhProfileMenuToggle {
    display: block; /* show hamburger */
  }

  #ExhProfile {
    grid-template-columns: 100%; /* single column */
  }

  #ExhProfileLeft {
    position: fixed;
    top: 0;
    left: -100%; /* hidden off-screen */
    width: 75%;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  #ExhProfileLeft.open {
    left: 0; /* slide in */
  }

  #ExhProfileRight {
    grid-column: 1 / -1;
  }
}

/* Simple exhibitor list styling */
#ExhProfileLeft ul {
  list-style: none;
  padding: 0;
}
#ExhProfileLeft li {
  padding: 8px;
  cursor: pointer;
}
#ExhProfileLeft li:hover {
  background: #eee;
}
